<script setup lang="ts">
  import { useRouter } from "vue-router";
  const router = useRouter();

  function toList(){
    sessionStorage.setItem("selectInstrumentRoutePage", "instrumentBorrowByList")
    router.push({name: "instrumentSelect"})
  }
</script>

<template>
  <div style="background: #EEEEEE7F; min-height: 100vh;">
    <van-nav-bar
        title="选择"
        left-text="返回"
        left-arrow
        @click-left="router.back()"
    />
    <van-cell-group style="margin-top: 8px" inset>
      <van-cell title="仪器申请(仪器列表)" is-link @click="toList()" />
      <van-cell title="仪器申请(手动输入)" is-link to="instrumentBorrowByUp" />
      <van-cell title="仪器归还" is-link to="instrumentReturnRecord" />
    </van-cell-group>
  </div>
</template>

<style scoped>

</style>